package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsHomeRecommendProductDO;
import com.macro.mall.model.sms.SmsHomeRecommendProductQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsHomeRecommendProductMapper extends BaseMapper<SmsHomeRecommendProductDO> {
    long countByExample(SmsHomeRecommendProductQuery example);

    int deleteByExample(SmsHomeRecommendProductQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsHomeRecommendProductDO record);

    int insertSelective(SmsHomeRecommendProductDO record);

    List<SmsHomeRecommendProductDO> selectByExample(SmsHomeRecommendProductQuery example);

    SmsHomeRecommendProductDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsHomeRecommendProductDO record, @Param("example") SmsHomeRecommendProductQuery example);

    int updateByExample(@Param("record") SmsHomeRecommendProductDO record, @Param("example") SmsHomeRecommendProductQuery example);

    int updateByPrimaryKeySelective(SmsHomeRecommendProductDO record);

    int updateByPrimaryKey(SmsHomeRecommendProductDO record);
}
